home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-09-13 | 2.0 KB | 73 lines | [TEXT/QED1] |
- ; This is the VISITOR script for Mansion
- ; This script is designed for use with Son Of Sysop.
- ; Forced Register & NewUserLog Script -- Mark Toland -- 1:290/2
- ; This script Forces the new user to register after they have started the process.
- ; It also will record new user info to the file contained in &10
- ; The Newnamelist file is used with the NewUserMessage option of Son of Sysop.
- ; The path for this filename is &11. You MUST edit this variable.
- ; You must also edit the path for the newnamelist found towards the end of this script!
- MOVE BBS:BBS 1.1:SOSNEWMAN:NEWUSERLOG,&10
- /TRYAGAIN
- PRINT Welcome!
- PRINT After answering the following few questions you will have
- PRINT access to read and scan some of the message areas.
- PRINT |You will not be able to post or enter the libraries until
- PRINT your application has been reviewed. Answer everything
- PRINT correctly and I'll get you validated by tomarrow at the
- PRINT latest. Looking forward to having you here!
- ;
- COMMANDR 12,0
- IFV @USERID,<,1
- REVERSE /TRYAGAIN
- ENDIF
- PRINT Just a moment while I record your new user stats...
- PRINT |
- ; USER HAS A VALID ID, LOAD HIS USER INFO NOW.
- MOVE @LIMIT,&50
- LOADUSERINFO
- LIMIT &50
- EXISTS &10,&1
- OUTPUT &10
- ;Write newuser info to &10. You can change/format all this info as you like.
- IFV &1,=,0
- WRITE New User Report
- APPEND ---------------
- APPEND &280
- APPEND &263
- APPEND &261
- APPEND &260
- APPEND &272
- APPEND &257
- APPEND &270
- APPEND &264
- APPEND -----------------------------
- ELSE
- APPEND &280
- APPEND &263
- APPEND &261
- APPEND &260
- APPEND &272
- APPEND &257
- APPEND &270
- APPEND &264
- APPEND -----------------------------
- ENDIF
- CLOSE
- ; The following is for the NewnameList. It's format MUST remain as follows in order to work with SOS!
- ; Edit the next line as to the path to your SOSNEWMAN folder. The NEWNAMELIST MUST be located
- ; in the SOSNEWMAN folder!
- MOVE BBS:BBS 1.1:SOSNEWMAN:NEWNAMELIST,&11
- PRINT |Welcome!|
- EXISTS &11,&1
- OUTPUT &11
- IFV &1,=,0
- WRITE &280
- ELSE
- APPEND &280
- ENDIF
- CLOSE
- ;
- ; ok the user has made it, run the regular logon script
- RUN LOGON
- END
-